home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12338 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: news.mindspring.com!usenet
  2. From: rudd@mindspring.com (Justin Rudd)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Communication between WIN apps?
  5. Date: Tue, 19 Mar 1996 15:56:03 GMT
  6. Organization: MindSpring Enterprises
  7. Message-ID: <4imllk$6kl@firebrick.mindspring.com>
  8. References: <4im3n4$hor@lantana.singnet.com.sg>
  9. Reply-To: rudd@mindspring.com
  10. NNTP-Posting-Host: rudd.mindspring.com
  11. X-Newsreader: Forte Free Agent v0.55
  12.  
  13. mikhail@singnet.com.sg (Mikhail Choo W.M.) wrote:
  14.  
  15. >Hi there,
  16. >     I was wondering if there is a way for windows applications to communicate
  17. >between one another. I have looked high and low, and couldn't find any functions
  18. >that would do the tasks. Alas, I found an example of a program that is able to
  19. >communicate, BUT the program is sooooo dammed long and I am just wondering if
  20. >any of you have any better ideas. Oh yes, the app I found comes with borland C++
  21. >4.5 and is called <tstapp>. So, any ideas on how to pass variables to and fro.
  22. >Any help or ideas will be greatly appreciated.
  23.  
  24. You could use named memory mapped files.  I can send you some sample
  25. code if you want or if you want to...you can look at the book I got it
  26. from called "Advanced Windows:  The Developer's Guide to the Win32 API
  27. for Windows NT 3.5x and Windows 95"  its authored by Jeffrey Richter.
  28. One comment though:  All the code in the book is C code using Message
  29. Crackers.  You won't see a single class in the whole book.  But
  30. besides that the information it gives you is invaluable.
  31.  
  32. Justin
  33.  
  34.